-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support gap_to_julia(::AbstractVector)
#989
support gap_to_julia(::AbstractVector)
#989
Conversation
This had been claimed already before the change, but it was not tested.
After generalizing the three-argument method of `julia_to_gap` from `Vector` to `AbstractVector`, the default method that discards the last two arguments is no longer applicable to `AbstractRange{<:Integer}`, hence the special one-argument method does not get called. For the moment, install a three-argument method for `AbstractRange{<:Integer}`. (And add tests that check whether we really get a GAP `IsRange` object in the end.)
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #989 +/- ##
==========================================
+ Coverage 75.74% 75.75% +0.01%
==========================================
Files 51 51
Lines 4188 4190 +2
==========================================
+ Hits 3172 3174 +2
Misses 1016 1016
|
CI-failures with Julia nightly, concerning the way how
|
add a `GAP.julia_to_gap(::JSON3.Array, ...)` method until the fix from oscar-system/GAP.jl/pull/989 is available
This was changed in JuliaLang/julia#54305 and was first present in |
…) or `f.map` (for group homomorphisms) (#3681) * use `GapObj` instead of `.values` access for group characters * use `GapObj(f)` not `f.map` for `f::GAPGroupHomomorphism` (and replace more `.X` access by `GapObj`) * replace `GAPTable` for char. tables by `GapObj` * simplify recursive `GapObj` calls * more `GapObj` calls using `recursive = true` * add a `GAP.julia_to_gap(::JSON3.Array, ...)` method until the fix from oscar-system/GAP.jl/pull/989 is available
It had been claimed already before the change that
gap_to_julia(::BitVector)
works, but this was not tested.(The problem was uncovered because
gap_to_julia(::JSON3.Array)
did not work.)